//
//  ADShowMessage.h
//  ADYiZhiYu
//
//  Created by 晓 on 2017/11/14.
//  Copyright © 2017年 com.idolmedia. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ADShowMessage : NSObject

// 单例
+ (instancetype)shareShowMessage;

// 纯文本
- (void)showTextOnly:(NSString *)text showInView:(UIView *)view;

// 纯文本  加y坐标 加高度
- (void)showTextOnly:(NSString *)text  showInView:(UIView *)view floatY:(CGFloat)floatY floatH:(CGFloat)floatH;

// 显示加载动画
- (void)showHUDAddedTo:(UIView *)view animated:(BOOL)animated;

// 关闭加载动画
- (void)hideHUDForView:(UIView *)view animated:(BOOL)animated;

- (void)addProgressingViewWithMessage:(NSString *)msg view:(UIView *)view;

- (void)removeProgressingViewForView:(UIView *)view;

@end
